package com.jfs.zlk.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description zlk服务器响应码枚举类
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/7/27
 */
@AllArgsConstructor
@Getter
public enum ZlkResultCode {
    EXCEPTION(-400, "代码抛异常"),
    INVALID_ARGS(-300, "参数不合法"),
    SQL_FAILED(-200, "sql执行失败"),
    AUTH_FAILED(-100, "鉴权失败"),
    OTHER_FAILED(-1, "业务代码执行失败"),
    SUCCESS(0, "执行成功");
    private final Integer code;
    private final String describe;
}
